<table id="children">
    <%for child in @children
    if !child.child_is_sponsored
for column in Child.content_columns %>
    <tr>
        <td>
            <font size=3>
                <b><%=column.human_name %>:</b>
            </font>
        </td>
        <td>
            <font face="Times" size=3>
                <%if column.human_name == "Picture url" %><img src="<%=h child.send(column.name) %>"/>
				<%elsif column.human_name == "Sponsorship needs"%>$<%=h child.send(column.name) %>
				<%elsif column.human_name == "Child is sponsored" %><%=link_to "I want to sponsor this child", :controller => "sponsors", :action => "sponsor_child", :id  => child.id %>
				<%else %><%=h child.send(column.name) %><%end %>
            </font>
        </td>
    </tr><%end %>
    <tr>
        <td colspan=2>
            -----------------------------------------
        </td>
    </tr>
    <%end %><%end %>
</table>
<%=link_to 'Previous page', { :page => @child_pages.current.previous } if @child_pages.current.previous %><%=link_to 'Next page', { :page => @child_pages.current.next } if @child_pages.current.next %>
<br/>
